<%-- 
    Document   : Regitro
    Created on : 1/07/2011, 06:34:57 PM
    Author     : Jessica
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page session="true" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Nuevo registro</title>
    </head>
    <body>
        <h1>Nuevo registro</h1>
        <form method="POST" action="Registrarse">
            Nombre de usuario: <input type="text" name="user"/> <br/><br/>
            Password: <input type="password" name="pass"/> <br/><br/>
            <input type="submit" value="Aceptar"/> <br/><br/>
        </form>  
        
        <c:if test="${ not empty param['error'] }">   <!--Imprime que ya existe el usuario-->
            ${param['error']}
        </c:if>
        
    </body>
</html>
